Skip to content

Conversation

@CJPrez
Copy link

@CJPrez CJPrez commented Feb 27, 2023

When joining a game through the lobby API (docs) you can can provide a playerName and arbitrary data object that get associated with the player and can be accessed on the client through the matchData property.

This change adds plumbing to the P2P implementation so that when creating the P2P instance you can provide the playerName and data values to get passed along like they would in the lobby API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant